<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>栏目管理</title>
<link rel="shortcut icon" href="/favicon.ico">
<link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="../css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="../plugins/jsTree/style.min.css" rel="stylesheet">
<link href="../css/animate.css" rel="stylesheet">
<link href="../css/style.css?v=4.1.0" rel="stylesheet">
<link href="../plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
<link rel="stylesheet" href="../plugins/layui/css/layui.css"  media="all">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
  <div class="row">
    <div class="col-sm-6">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>栏目管理</h5>
          <div class="ibox-tools"> <a class="collapse-link"> <i class="fa fa-chevron-up"></i> </a> <a class="close-link"> <i class="fa fa-times"></i> </a> </div>
        </div>
        <div class="ibox-content">
          <div id="using_json"> </div>
        </div>
      </div>
    </div>
    <div class="col-sm-6">
      <div class="ibox-title">
        <h5 id="edit-title">新增顶级栏目</h5>
        <div class="ibox-tools"> <a class="collapse-link"> <i class="fa fa-chevron-up"></i> </a> <a class="close-link"> <i class="fa fa-times"></i> </a> </div>
      </div>
      <div class="ibox-content">
        <fieldset class="layui-elem-field layui-field-title">
          <form class="layui-form layui-form-pane" action="">
            <input id="menuId" name="menuId" type="hidden" value="0">
            <div class="layui-form-item">
              <label class="layui-form-label">栏目名称</label>
              <div class="layui-input-block">
                <input type="text" id="menuName" name="menuName" autocomplete="off" placeholder="请输入栏目名称" class="layui-input" lay-verify="required">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">辅助名称</label>
              <div class="layui-input-block">
                <input type="text" id="menuOtherName" name="menuOtherName" autocomplete="off" placeholder="请输入栏目辅助名称" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">栏目序号</label>
              <div class="layui-input-block">
                <input type="text" id="menuOrder" name="menuOrder" lay-verify="required|number" placeholder="请输入栏目序号" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">栏目图片</label>
              <div class="layui-input-inline">
                <input type="text" id="menuPicture" name="menuPicture" placeholder="请输入栏目图标" autocomplete="off" class="layui-input" />
              </div>
              <div class="layui-input-inline">
                <button type="button" class="layui-btn" id="uploadPictrue"> <i class="layui-icon">&#xe67c;</i>上传图片 </button>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">手机图片</label>
              <div class="layui-input-inline">
                <input type="text" id="menuPicture2" name="menuPicture2" placeholder="请输入手机图标" autocomplete="off" class="layui-input" />
              </div>
              <div class="layui-input-inline">
                <button type="button" class="layui-btn" id="uploadPictrue2"> <i class="layui-icon">&#xe67c;</i>上传图片 </button>
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">父节点</label>
              <div class="layui-input-inline">
                <input id="menuParentId" name="menuParentId" type="hidden" value="0">
                <input type="text" id="menuParentName" name="menuParentName" lay-verify="required" placeholder="请输入父节点" autocomplete="off" class="layui-input" value="顶级栏目">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">栏目类型</label>
              <div class="layui-input-block">
                <input type="radio" name="menuType" title="基本信息" value="0" checked>
                <input type="radio" name="menuType" title="文章列表" value="1">
                <input type="radio" name="menuType" title="视频列表" value="2">
                <input type="radio" name="menuType" title="重点研发" value="3">
                <input type="radio" name="menuType" title="友情链接-文字" value="4">
                <input type="radio" name="menuType" title="友情链接-图片" value="5">
                <input type="radio" name="menuType" title="链接" value="6">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">语言</label>
              <div class="layui-input-block">
                <input type="radio" name="menuLanguage" title="中文" value="CN" checked>
                <input type="radio" name="menuLanguage" title="日文" value="JP">
                <input type="radio" name="menuLanguage" title="英文" value="EN">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">栏目简介</label>
              <div class="layui-input-block">
      			<textarea id="menuIntro" name="menuIntro" placeholder="请输入栏目简介" class="layui-textarea"></textarea>
              </div>
            </div>
            <div class="layui-form-item">
              <div class="layui-input-block">
                <button class="layui-btn" lay-submit="" lay-filter="demo1">保存</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
              </div>
            </div>
          </form>
        </fieldset>
      </div>
    </div>
  </div>
</div>
<!-- 全局js --> 
<script src="../plugins/layui/layui.js" charset="utf-8"></script>
<script src="../script/jquery.min.js?v=2.1.4"></script>
<script src="../script/bootstrap.min.js?v=3.3.6"></script>

<!-- 自定义js --> 
<script src="../script/content.js?v=1.0.0"></script>
<script src="../script/W.js?v=3.3.6"></script>

<!-- jsTree plugin javascript --> 
<script src="../plugins/jsTree/jstree.min.js"></script>
<script src="../plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="../plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="../plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<style>
        .jstree-open > .jstree-anchor > .fa-folder:before {
            content: "\f07c";
        }

        .jstree-default .jstree-icon.none {
            width: 0;
        }
    </style>
<script scr="../script/menu.js"></script>
</body>
</html>
